DeathByFallUpdater = function(go, depthLimit, callback) {
    this.gameObject = go;
    this.depthLimit = depthLimit;
    this.callback = callback;
};

DeathByFallUpdater.prototype = Object.create(Updater.prototype);


DeathByFallUpdater.prototype.run = function() {
    var go = this.gameObject;
    if (go.y >= this.depthLimit) {
        this.callback();
    }
};
